package gazzera.node.core.messages;

import gazzera.utils.*;

import java.io.*;
import java.util.*;


public class NotInterested  extends Message
{
	public FileID fid = null;
	public BitSet avaiable = null;
	
	
	
	public NotInterested(FileID fid)
	{
		super();
		this.fid = fid;
	}

	public NotInterested()
	{
		super();
		
	}

	@Override
	protected void recv(DataInputStream s) throws IOException
	{
		fid = readFileID(s);
	}

	@Override
	protected void send(DataOutputStream s) throws IOException
	{
		sendFileID(s, fid);
	}
}

